<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="../../js/lib/theme-chalk/index.css" />
		<link rel="stylesheet" type="text/css" href="../../css/myCustomer.css" />
		<link rel="stylesheet" type="text/css" href="../../css/my_commont.css" />
		<link rel="stylesheet" type="text/css" href="index.css" />

		<script src="../../common/utilCookie.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../common/author.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/axios.min.js"></script>
		<script src="../../js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<!-- 引入组件库 -->
		<script src="../../js/lib/index.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/config.js" type="text/javascript" charset="utf-8"></script>
		<script src="index.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="addGoodTypeApp">
			<div class="contaner">
				<div class="section-header">
					商品 - -添加二级分类
				</div>
				<hr class="hr-style" />
				<div class="my_height_20">
					<el-form ref="form" :model="form" label-width="80px">
						<el-row>
							<el-col :span="11">

								<el-form-item label="商品分类" :rules="[
      { required: true, message: '商品分类不能为空', trigger: 'blur' },
    ]">
									<el-input type="textarea" :rows="10" placeholder="请输入内容" v-model="form.textarea">
									</el-input>

								</el-form-item>

								<div class="tip-item tip-item-height">
									<span>如需批量添加分类，格式：分类名称一,分类名称二,分类名称三 （注：以英文逗号分隔开）</span>
								</div>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="11">
								<el-form-item label="上级分类">
									<el-select v-model="form.region" placeholder="请选择活动区域">
										<el-option label="区域一" value="shanghai"></el-option>
										<el-option label="区域二" value="beijing"></el-option>
									</el-select>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="5">
								<el-form-item label="数量单位">

									<el-input v-model="form.unit"></el-input>

								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="5">
								<el-form-item label="排序">

									<el-input v-model="form.sort"></el-input>

								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="5">
								<el-form-item label="是否显示">
									<el-switch v-model="form.isShow"></el-switch>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="11">
								<el-form-item label="分类描述">
									<el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.content">
									</el-input>

								</el-form-item>
							</el-col>
						</el-row>
						<el-row>
							<el-col :span="11" :offset="2">
								<el-button type="primary"> 确定</el-button>
								<el-button > 重置</el-button>
							</el-col>
						</el-row>
						


					</el-form>
				</div>
			</div>
		</div>
	</body>
</html>
